<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	    		xmlns:ui="http://java.sun.com/jsf/facelets"
	  			xmlns:h="http://java.sun.com/jsf/html"
	  			xmlns:f="http://java.sun.com/jsf/core"
	  			xmlns:s="http://jboss.com/products/seam/taglib"
				xmlns:a4j="http://richfaces.org/a4j"
				xmlns:rich="http://richfaces.org/rich"
				template="template.xhtml">


<ui:define name="content">
	<div class="entry errors">
		<h:messages globalOnly="true"/>
	</div>
			
	<h:form id="setpassword">
	
		<fieldset>
		
			<s:decorate template="edit.xhtml">
				<ui:define name="label">Password:</ui:define>
				<h:inputSecret id="password" value="#{changePassword.newPwd}" required="true"/>
			</s:decorate>
			
			<s:decorate template="edit.xhtml">
				<ui:define name="label">Verify:</ui:define>
				<h:inputSecret id="newPwdVerify" value="#{changePassword.newPwdVerify}" required="true"/>
			</s:decorate>
			
			<div class="buttonBox">
				<h:commandButton id="change" value="Change" action="#{changePassword.changePassword}"/>
				&#160;
				<s:button id="cancel" value="Cancel" view="/main.xhtml"/>
			</div>
			
		</fieldset>
		
	</h:form>
</ui:define>

<ui:define name="navigation">
	<ui:include src="userPanelNavigation.xhtml"/>
</ui:define>

<ui:define name="extra">
	<ui:include src="userPanelExtra.xhtml"/>
</ui:define>

</ui:composition>